<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
<title>更新客户</title>
<script type="text/javascript">
	/**查找带回机构信息*/
	function lookUpNetsite() {
		$.pdialog.open('netsiteLookUp', 'organization', '网点信息', {
			width : 1000,
			height : 580,
			mask : true
		});
	}
</script>
</head>
<body>
	<div class="pageContent">
		<form class="pageForm required-validate" method="post" action="checkCourierAction.action" onsubmit="return validateCallback(this, navTabAjaxDone);">
			<input type="hidden" name="rightId" value="${rightId}" /> <input name="id" value="<s:property value='#request.courier.id' />" type="hidden" />
			<div class="pageFormContent" layoutH="56">
				<table>
					<tr>
						<td>用户名</td>
						<td><input  disabled="disabled" readonly="readonly" name="username" type="text" size="30" value="<s:property value='#request.courier.username'/>" /></td>
					</tr>

					<tr>
						<td>电话：</td>
						<td><input disabled="disabled" name="mobile" type="text" size="30" value="<s:property value='#request.courier.mobile'/>" class="required textInput valid" /></td>
					</tr>
					 <tr>
						<td>真实姓名：</td>
						<td><input disabled="disabled" name="realname" type="text" size="30" value="<s:property value='#request.courier.realname'/>" class="required textInput valid" /></td>
					</tr> 
					<tr>
						<td>性别：</td>
						<td><s:if test="#request.courier.gender==1">
								<select disabled="disabled" name="gender" style="width: 120px">
									<option value="0">女</option>
									<option value="1" selected="selected">男</option>
								</select>
							</s:if> <s:elseif test="#request.courier.gender==0">
								<select disabled="disabled" name="gender" style="width: 120px">
									<option value="0" selected="selected">女</option>
									<option value="1">男</option>
								</select>
							</s:elseif></td>
					</tr>
					
					<tr>
						<td>快递员类别：</td>
						<td><s:if test="#request.courier.courierType==1">
								<select  disabled="disabled" name="courierType" style="width: 120px">
									<option value="0">其他快递员</option>
									<option value="1" selected="selected">快递兔</option>
								</select>
							</s:if> <s:elseif test="#request.courier.courierType==0">
								<select  disabled="disabled" name="courierType" style="width: 120px">
									<option value="0" selected="selected">其他快递员</option>
									<option value="1">快递兔</option>
								</select>
							</s:elseif></td>
					</tr>
					
					<tr>
						<td>状态：</td>
						<td><s:if test="#request.courier.locked==0">
								<select disabled="disabled" name="locked" style="width: 120px">
									<option value="0" selected="selected">启用</option>
									<option value="1">禁用</option>
								</select>
							</s:if> <s:elseif test="#request.courier.locked==1">
								<select  disabled="disabled" name="locked" style="width: 120px">
									<option value="0">启用</option>
									<option value="1" selected="selected">禁用</option>
								</select>
							</s:elseif></td>
					</tr>
					
					<tr>
						<td>类型：</td>
						<td><s:if test="#request.courier.workType==0">
								<select disabled="disabled" name="workType" style="width: 120px">
									<option value="0" selected="selected">收件员</option>
									<option value="1">直送员</option>
								</select>
							</s:if> <s:elseif test="#request.courier.workType==1">
								<select  disabled="disabled" name="workType" style="width: 120px">
									<option value="0">收件员</option>
									<option value="1" selected="selected">直送员</option>
								</select>
							</s:elseif></td>
					</tr>
					
					<tr>
						<td>交通工具：</td>
						<td><s:if test="#request.courier.transport==0">
								<select name="transport" style="width: 120px">
									<option value="0" selected="selected">电动车</option>
									<option value="1">燃气车</option>
									<option value="2">摩托车</option>
									<option value="3">汽车</option>
									<option value="4">无交通工具</option>
								</select>
							</s:if> <s:elseif test="#request.courier.transport==1">
								<select name="transport" style="width: 120px">
									<option value="0">电动车</option>
									<option value="1" selected="selected">燃气车</option>
									<option value="2">摩托车</option>
									<option value="3">汽车</option>
									<option value="4">无交通工具</option>
								</select>
							</s:elseif>
							<s:elseif test="#request.courier.transport==2">
								<select name="transport" style="width: 120px">
									<option value="0">电动车</option>
									<option value="1">燃气车</option>
									<option value="2" selected="selected">摩托车</option>
									<option value="3">汽车</option>
									<option value="4">无交通工具</option>
								</select>
							</s:elseif>
							<s:elseif test="#request.courier.transport==3">
								<select name="transport" style="width: 120px">
									<option value="0">电动车</option>
									<option value="1">燃气车</option>
									<option value="2">摩托车</option>
									<option value="3" selected="selected">汽车</option>
									<option value="4">无交通工具</option>
								</select>
							</s:elseif>
							<s:elseif test="#request.courier.transport==4">
								<select name="transport" style="width: 120px">
									<option value="0">电动车</option>
									<option value="1">燃气车</option>
									<option value="2">摩托车</option>
									<option value="3">汽车</option>
									<option value="4" selected="selected">无交通工具</option>
								</select>
							</s:elseif>
							</td>
					</tr>
					
					<tr>
						<td>年龄：</td>
						<td><s:if test="#request.courier.age==0">
								<select disabled="disabled" name="age" style="width: 120px">
									<option value="0" selected="selected">20-30</option>
									<option value="1">30-35</option>
									<option value="2">35-45</option>
								</select>
							</s:if> <s:elseif test="#request.courier.age==1">
								<select disabled="disabled" name="age" style="width: 120px">
									<option value="0">20-30</option>
									<option value="1" selected="selected">30-35</option>
									<option value="2">35-45</option>
								</select>
							</s:elseif>
							<s:elseif test="#request.courier.age==2">
								<select disabled="disabled" name="age" style="width: 120px">
									<option value="0">20-30</option>
									<option value="1" >30-35</option>
									<option value="2" selected="selected">35-45</option>
								</select>
							</s:elseif></td>
					</tr>
					
					<tr>
						<td>学历：</td>
						<td><s:if test="#request.courier.educational==0">
								<select name="educational" style="width: 120px">
										<option value="0" selected="selected">高中以下</option>
									<option value="1">大专以下</option>
									<option value="2">大学及以上</option>
								</select>
							</s:if> <s:elseif test="#request.courier.educational==1">
								<select name="educational" style="width: 120px">
										<option value="0">高中以下</option>
										<option value="1" selected="selected">大专以下</option>
										<option value="2">大学及以上</option>
								</select>
							</s:elseif><s:elseif test="#request.courier.educational==2">
								<select name="educational" style="width: 120px">
										<option value="0">高中以下</option>
										<option value="1">大专以下</option>
										<option value="2" selected="selected">大学及以上</option>
								</select>
							</s:elseif></td>
					</tr>
					
					 <tr>
						<td>紧急联系人关系：</td>
						<td><input disabled="disabled" name="contactPerson" type="text" size="30" value="<s:property value='#request.courier.contactPerson'/>" class="required textInput valid" /></td>
					</tr> 
					
					 <tr>
						<td>紧急联系人联系方式：</td>
						<td><input disabled="disabled" name="contactPersonmobile" type="text" size="30" value="<s:property value='#request.courier.contactPersonmobile'/>" class="required textInput valid" /></td>
					</tr> 
					
					 <tr>
						<td>现住地址：</td>
						<td><input  disabled="disabled" name="livingAddress" type="text" size="30" value="<s:property value='#request.courier.livingAddress'/>" class="required textInput valid" /></td>
					</tr> 
					
					 <tr>
						<td>身份证号：</td>
						<td><input disabled="disabled" name="idNumber" type="text" size="30" value="<s:property value='#request.courier.idNumber'/>" class="required textInput valid" /></td>
					</tr> 
					
					<tr>
						<td>身份真实性：</td>
						<td><s:if test="#request.courier.infoIsTrue==0">
								<select disabled="disabled" name="infoIsTrue" style="width: 120px">
											<option value="0" selected="selected">虚假</option>
											<option value="1">真实</option>
								</select>
							</s:if> <s:elseif test="#request.courier.infoIsTrue==1">
								<select  disabled="disabled" name="infoIsTrue" style="width: 120px">
											<option value="0">虚假</option>
											<option value="1" selected="selected">真实</option>
								</select>
							</s:elseif></td>
					</tr>
					
					<tr>
						<td>从业经验：</td>
						<td><s:if test="#request.courier.wordExperience==0">
								<select name="wordExperience" style="width: 120px">
										<option value="0" selected="selected">一年以内</option>
										<option value="1">1一年以上3年以内</option>
										<option value="2">3年以上</option>
								</select>
							</s:if> <s:elseif test="#request.courier.wordExperience==1">
								<select name="wordExperience" style="width: 120px">
											<option value="0">一年以内</option>
								<option value="1" selected="selected">1一年以上3年以内</option>
								<option value="2">3年以上</option>
								</select>
							</s:elseif>
							<s:elseif test="#request.courier.wordExperience==2">
								<select name="wordExperience" style="width: 120px">
											<option value="0">一年以内</option>
								<option value="1">1一年以上3年以内</option>
								<option value="2" selected="selected">3年以上</option>
								</select>
							</s:elseif>
							</td>
					</tr>
					
					<tr>
						<td>原籍地址：</td>
						<td><input disabled="disabled" name="residenceAddress" type="text" size="30" value="<s:property value='#request.courier.residenceAddress'/>" class="required textInput valid" /></td>
					</tr> 
					
					<tr>
						<td>手机系统：</td>
						<td><s:if test="#request.courier.inphoneOS==0">
								<select  disabled="disabled" name="inphoneOS" style="width: 120px">
									<option value="0" selected="selected">Android</option>
									<option value="1">IOS</option>
								</select>
							</s:if> <s:elseif test="#request.courier.inphoneOS==1">
								<select disabled="disabled" name="inphoneOS" style="width: 120px">
									<option value="0">Android</option>
									<option value="1" selected="selected">IOS</option>
								</select>
							</s:elseif></td>
					</tr>
					
					<tr>
						<td>现从事职业：</td>
						<td><input disabled="disabled" name="nowJob" type="text" size="30" value="<s:property value='#request.courier.nowJob'/>" class="required textInput valid" /></td>
					</tr> 
					
					<tr>
					<td>账户状态：</td>
						<td><s:if test="#request.courier.accountsStatus==0">
								<select disabled="disabled" name="accountsStatus" style="width: 120px">
									<option value="0" selected="selected">启用</option>
									<option value="1">禁用</option>
								</select>
							</s:if> <s:elseif test="#request.courier.accountsStatus==1">
								<select  disabled="disabled" name="accountsStatus" style="width: 120px">
									<option value="0">启用</option>
									<option value="1" selected="selected">禁用</option>
								</select>
							</s:elseif></td>
					</tr>
					
					<tr>
					<td>犯罪记录：</td>
						<td><s:if test="#request.courier.criminalRecords==0">
								<select disabled="disabled" name="criminalRecords" style="width: 120px">
									<option value="0" selected="selected">无</option>
									<option value="1">有</option>
								</select>
							</s:if> <s:elseif test="#request.courier.criminalRecords==1">
								<select disabled="disabled" name="criminalRecords" style="width: 120px">
									<option value="0">无</option>
									<option value="1" selected="selected">有</option>
								</select>
							</s:elseif></td>
					</tr>
					<tr>
						<td>工作开始时间:</td>
						<td> <input disabled="disabled" type="text" size="5" value="<s:date name='#request.courier.workStartTime' format="HH:mm"/>">  </td>
					<tr>
						<td>工作结束时间 :</td>
						<td> <input  disabled="disabled" type="text" size="5" value="<s:date name='#request.courier.workEndTime' format="HH:mm"/>"> </td>
					</table>
					
				
				<table>
					<tr>
						<td>账户审核</td>
						<td>
						<s:if test="#request.courier.accountsCheck==0">
								<select  name="accountsCheck" style="width: 120px">
									<option value="0" selected="selected">未通过</option>
									<option value="1">通过</option>
								</select>
							</s:if> <s:elseif test="#request.courier.accountsCheck==1">
								<select name="accountsCheck" style="width: 120px">
									<option value="0">未通过</option>
									<option value="1" selected="selected">通过</option>
								</select>
							</s:elseif>
							</td>
					</tr>
				</table>
			</div>
			<div class="formBar">
				<ul>
					<li>
						<div class="buttonActive">
							<div class="buttonContent">
								<button type="submit">保存</button>
							</div>
						</div>
					</li>
					<li>
						<div class="button">
							<div class="buttonContent">
								<button type="button" class="close">取消</button>
							</div>
						</div>
					</li>
				</ul>
			</div>
		</form>
	</div>
</body>
</html>
